home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus Special 23 / AMIGAplus Sonderheft 23 (2000)(Falke)(DE)[!].iso / Updates / Datatypes / JPEG-DT / JPEG-DT.readme < prev    next >
Text File  |  1999-11-15  |  3KB  |  96 lines

  1. Short:    New Datatype for JPEG Images (43.1)
  2. Uploader: astegema@ix.urz.uni-heidelberg.de (Achim Stegemann)
  3. Author:   astegema@ix.urz.uni-heidelberg.de (Achim Stegemann)
  4. Type:     util/dtype
  5. Version:  43.1
  6.  
  7. Requires minimum:
  8.  * OS 3.0
  9.  * MC68020
  10.  
  11. Additionally recommended:
  12.  * CyberGraphX with picture.datatype V43 for 24-bit images.
  13.  * MUI 3.8 for the preferences.
  14.  
  15. If you run OS 3.5, it is recommended to install the JPEG-DT35 archive !!
  16.  
  17. With the help of the jpeg.datatype, your datatype sytem is able to read JPEG images.
  18.  
  19. This datatype is freeware and can be used for any purpose !
  20.  
  21.  
  22. ##### Why another datatype for JPEG images ? #####
  23.  
  24. Well there are many of them available on the Aminet, but this has two unbeatable
  25. advantages !!
  26.  
  27. 1. It is very short, only about 8 kB !! Why ? Because it does not contain the JPEG
  28. de/encoder and color quantizer in the datatype itself.
  29. The datatype uses the jpeg.library from Paul Huxham for the JPEG de/encoding and the
  30. render.library by Tim Müller for color reduction. The jpeg.library has been developed
  31. from the latest JPEG V6b release, so it is up-to-date.
  32.  
  33. 2. It can write JPEG files when using the DTMW_RAW flag in the DTM_WRITE method !!
  34. The V45 of datatypes by Roland Mainz is supported, so you can convert any datatype
  35. picture to JPEG.
  36.  
  37.  
  38. #### Note ####
  39.  
  40. If you have another jpeg.datatype (with THIS name) installed on your Amiga with a
  41. version number higher than 43.0, the installer will not be able to replace it.
  42. In this case, you must copy the jpeg.datatype manually to your SYS:Classes/DataTypes
  43. directory.
  44.  
  45. Changes since V43.0:
  46.  * Improved V43 setup to avoid problems under Picasso96 or OS 3.5.
  47.  * Glowicons are now default icons.
  48.  
  49. Internet: http://www.rzuser.uni-heidelberg.de/~astegema/
  50.  
  51.  
  52. Important note about the source code:
  53. *************************************
  54.  
  55. The source has been written in C++ using Maxon-C++ V3.
  56. You will find several instructions a bit strange as I have converted all C-style OS-structures
  57. to C++ OS-structures.
  58. E.g.
  59.  
  60. struct Library
  61. {
  62. struct Node lib_Node;
  63. UBYTE lib_Flags;
  64. UBYTE lib_pad;
  65. UWORD lib_NegSize;
  66. UWORD lib_PosSize;
  67. UWORD lib_Version;
  68. UWORD lib_Revision;
  69. APTR lib_IdString;
  70. ULONG lib_Sum;
  71. UWORD lib_OpenCnt;
  72. };
  73.  
  74. has been converted to
  75.  
  76. struct Library:Node // !!!!!
  77. {
  78. UBYTE lib_Flags;
  79. UBYTE lib_pad;
  80. UWORD lib_NegSize;
  81. UWORD lib_PosSize;
  82. UWORD lib_Version;
  83. UWORD lib_Revision;
  84. APTR lib_IdString;
  85. ULONG lib_Sum;
  86. UWORD lib_OpenCnt;
  87. };
  88.  
  89. This simplifies the code as I don't always need to cast variables to fit arguments
  90. in functions.
  91. Additionally C++ allows to leave away the 'struct' keyword !
  92.  
  93. If you like to recompile the source-code for your compiler, you need to adjust the
  94. source-code to C. But this should be no problem.
  95.  
  96.